{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "aa4c3b75",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "课程表\n",
      "today:\n",
      "5\n",
      "周六、周日\n",
      "ddl杀过来了sos\n"
     ]
    }
   ],
   "source": [
    "print(\"课程表\")\n",
    "import datetime\n",
    "time = datetime.datetime.today().weekday()\n",
    "week_time = int(time)\n",
    "print(\"today:\"),print(week_time)\n",
    "if week_time==0:\n",
    "    print(\"1-3 批判性阅读思辨\");print(\"6-7 写作训练\");print(\"8-10 python\")\n",
    "elif week_time==1:\n",
    "    print(\"3-5 学术交流英语\");print(\"8-9 新闻评论\");print(\"12-14 创业基础\");\n",
    "elif week_time==2:\n",
    "    print(\"3-5 融合新闻学\");\n",
    "elif week_time==3:\n",
    "    print(\"1-2 学术写作\");print(\"8-9 广告创意文案写作\")\n",
    "elif week_time==4:\n",
    "    print(\"8-9 手绘基础\");print(\"10-11 体育舞蹈\");\n",
    "else:\n",
    "    print(\"周六、周日\");print(\"ddl杀过来了sos\");"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "7d6872b0",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "       时间       ｜      周一       |      周二       |      周三       |      周四       |      周五       |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "      第1～2节      ｜      批判性阅读      |                 |               |    学术写作     |                 |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "       第3节       ｜      批判性阅读      |     学术交流英语      |     融合新闻学     |             |                 |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "      第4～5节      ｜               |   学术交流英语   |      融合新闻学      |             |                 |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "      第6～7节      ｜    写作训练     |                 |                 |                 |                 |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "      第8～9节      ｜    python语言     |    新闻评论     |                 |  广告文案写作   |      手绘艺术       |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "      第10节       ｜    python语言     |             |                 |                 |      体育舞蹈       |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "      第11节       ｜                 |                 |                 |             |      体育舞蹈       |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n",
      "     第12～14节     ｜             |    创业基础     |    毛概理论     |                 |                 |\n",
      "________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "print(\"_\"*280)\n",
    "print(\"{:^16}｜{:^15}|{:^15}|{:^15}|{:^15}|{:^15}|\"\n",
    "      .format(\"时间\",\"周一\",\"周二\",\"周三\",\"周四\",\"周五\"))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^17}|{:^17}|{:^15}|{:^13}|{:^17}|\"\n",
    "      .format(\"第1～2节\",\"批判性阅读\",\"\",\"\",\"学术写作\",\"\",))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^17}|{:^17}|{:^15}|{:^13}|{:^17}|\"\n",
    "      .format(\"第3节\",\"批判性阅读\",\"学术交流英语\",\"融合新闻学\",\"\",\"\",))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^15}|{:^12}|{:^17}|{:^13}|{:^17}|\"\n",
    "      .format(\"第4～5节\",\"  \",\"学术交流英语\",\"融合新闻学\",\"\",\"\",))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^13}|{:^17}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"第6～7节\",\"写作训练\",\"\",\"\",\"\",\"\",))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^17}|{:^13}|{:^17}|{:^11}|{:^17}|\"\n",
    "      .format(\"第8～9节\",\"python语言\",\"新闻评论\",\"\",\"广告文案写作\",\"手绘艺术\",))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^17}|{:^13}|{:^17}|{:^17}|{:^17}|\"\n",
    "      .format(\"第10节\",\"python语言\",\"\",\"\",\"\",\"体育舞蹈\"))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^17}|{:^17}|{:^17}|{:^13}|{:^17}|\"\n",
    "      .format(\"第11节\",\"\",\"\",\"\",\"\",\"体育舞蹈\"))\n",
    "\n",
    "print(\"_\"*280)\n",
    "print(\"{:^17}｜{:^13}|{:^13}|{:^13}|{:^17}|{:^17}|\"\n",
    "      .format(\"第12～14节\",\"\",\"创业基础\",\"毛概理论\",\"\",\"\"))\n",
    "\n",
    "print(\"_\"*280)"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
